package cn.xzc.job.util;

import java.util.Collection;

/**
 * @author 熊志聪
 * @Classname CollectionUtils
 * @Description collection相关操作
 * @Date 2024/2/12 22:56
 */
public class CollectionUtils {
    public static boolean isEmpty(final Collection<?> collection) {
        return (collection == null || collection.isEmpty());
    }

    public static boolean isNotEmpty(final Collection<?> coll) {
        return !isEmpty(coll);
    }
}
